
<div id="header_1"  >
    <table border=0 width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse" bordercolor="#000000">
        <caption style="height: 42pt;"><b style="float:left;"><img src="{$logo_img}" /></b></caption>
        <caption><b style="font-size: 7.2mm;">{$head_title}</b></caption>
        <tr>
            <td colspan="8" >
                <div style="text-align: right;padding: 5pt 30pt;" >
                    第<font tdata="PageNO" format="ChineseNum" color="blue">##</font>页</span>，共<font tdata="PageCount" format="ChineseNum" color="blue">##</font></span>页
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="8" style="border-top: 1.5pt solid rgb(128,128,128);padding:1.5pt">
                <font >单位名称：<span>济南恭德陵园</span></font>
            </td>
        </tr>
        <tr>
            <td colspan="8">
                <div style="width: 33.3%;float:left;"><font >地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：<span >济南市柳埠镇柳东村</span></font></div>
                <div style="width: 33.3%;float:left;"><font >电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：<span>0531-82841666</span></font></div>
                <div style="width: 33.3%;float:left;"><font >传&nbsp;&nbsp;真：<span></span></font></div>
            </td>
        </tr>
        <tr>
            <td colspan="8" style="border-bottom: 1pt solid rgb(128,128,128);"><font >网&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：<span>www.sdgdly.com</span></font></td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33%;float:left;"><font >客户姓名：<SPAN>{$result['buyer_name']|default=''}</SPAN></font> </div>
                <div style="width: 24%;float:left;"><font >证件类型：<SPAN>{$result.cart_type_name|default=''}</SPAN></font> </div>
                <div style="width: 43%;float:left;"><font >证件号码：<SPAN>{$result['customer_account']|default=''}</SPAN></font> </div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 100%;float:left;"><font >联系地址：<SPAN>{$result['customer_address']|default=''}</SPAN></font></font> </div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33%;float:left;"><font >合同编号：<SPAN>{$result['contract_sn']|default=''}</SPAN></font> </div>
                <div style="width: 24%;float:left;"><font >墓位编号：<SPAN>{$result['tomb_num']|default=''}</SPAN></font> </div>
                <div style="width: 43%;float:left;"><font >具体位置：<SPAN>{$result['tomb_region']|default=''}{$result['tomb_address']|default=''}{$result['layer_num']|default=''}{$result['tomb_bit_number']|default=''}</SPAN></font></div>
            </td>
        </tr>
        <tr style="height: 18pt">
            <td colspan="8">
                <div style="width: 33%;float:left;"><font >墓穴规制：<span>{$result['tomb_regulation_name']|default=''}</span></font></div>
                <div style="width: 24%;float:left;"><font >墓穴状态：<span>{$result['col_status_name']|default=''}</SPAN></span></font></div>
                <div style="width: 43%;float:left;"><font >操&nbsp;&nbsp;&nbsp;作：<SPAN id="operate_name">{$operate_name}</SPAN></font> </div>
            </td>
        </tr>
        <tr >
            <td colspan="8" style="border-bottom: 1.5pt solid rgb(128,128,128);border-top: 1pt solid rgb(128,128,128);padding: 2pt 0;">
                <font >{$body_top_name}：<span></span></font>
            </td>
        </tr>
        </thead>
    </table>
</div>
<div id="body_2">
    <TABLE border=0 width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse" bordercolor="#000000">
        <thead>
        <TR>
            <td width="6%">序号</td>
            <td width="26%">项目名称</td>
            <td width="8%">数量</td>
            <td width="6%">单位</td>
            <td width="14%">单价(元)</td>
            <td width="14%">优惠</td>
            <td width="15%">金额(元)</td>
            <td width="20%">备注</td>
        </thead>
        <tbody>
        <foreach name="result_list" item="vo">
            <tr>
                <td>{$key+1}</td>
                <td>{$vo['name']}</td>
                <td>{$vo['num']|default=''}</td>
                <td>{$vo['unit']|default=''}</td>
                <td>{$vo['unitprice']|default=''}</td>
                <td>{$vo['free_price']|default='0'}</td>
                <td>{$vo['price']|default=''}</td>
                <td style="font-size: 10pt">{$vo['remark']|default=''}</td>
            </tr>
        </foreach>
        </tbody>
    </TABLE>
</div>

<div id="tfoot_3">
    <div style="height: 20pt; border-top: 1pt solid rgb(128,128,128);border-bottom:  1.5pt solid rgb(128,128,128);" align=center >
        <span style="float:left;width: 50%;padding-top: 3pt;" >合计</span>
        <span style="float:left;width: 50%;padding-top: 3pt;">￥<font >{$total_price}元</font></span>
    </div>
    {$table_temp_tx}
    <div style="line-height: 30pt;border-bottom:  1.5pt solid rgb(128,128,128);" align=center>
        <div style="line-height: 35pt;width: 25%;float:left;padding-top: 6pt;"><font >经办人：<span>{$handle_name}</span></font></div>
        <div style="line-height: 35pt;width: 25%;float:left;padding-top: 6pt;"><font >收款人：<span>{$pay_user}</span></font></div>
        <div style="line-height: 35pt;width: 25%;float:left;padding-top: 6pt;"><font >客户签名：<span></span></font></div>
        <div style="line-height: 35pt;width: 25%;float:left;padding-top: 6pt;"><font >日期：<span>{$pay_time}</span></font></div>
    </div>
</div>